Defining Command tasks
This section explains how to define a command task. You can define as many command tasks as you need and execute them at different stages of a Compose workflow.
For security reasons, before you define a command task, make sure that the executable or script file that you want to run resides in the following directory on the Compose server machine:
PRODUCT_DIR\data\projects\YOUR_PROJECT\scripts
To define a command task:
-
From the project drop-down menu, select Manage Command Tasks.
The Manage Command Tasks window opens.
-
Provide a name for the task.
Warning noteTask names cannot contain the following characters: /\,&#%$@=^*+"'`~?<>:;[]{} as well as all non-printable characters (below 0x20). The task name can contain a single dot, but it cannot be the first or last character. - Optionally, enter a description.
- In the Script/Executable File field, specify the name of the files that you want to run.
- In the Parameters field, specify any parameters required by the command. Parameters should be separated by a space.
- The user context is the user account under which the Task will run. To change the current user context, provide the User, Password and Domain of the account under which you want the Task to run.
-
Click Save to save your changes or Discard to discard any unsaved changes.
The task will be added to the list of tasks in the left of the window.